package office.service.hr;

import java.util.List;

import office.action.hr.form.PurchaseEntryForm;
import platform.common.exception.BusinessException;

public interface IPurchaseEntryService{

	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public PurchaseEntryForm getById(String id) throws BusinessException;
	
	/**
	 * 编辑/保存采购信息
	 * @param purchaseEntryForm
	 * @throws BusinessException
	 */
	public void editPurchaseEntry(PurchaseEntryForm purchaseEntryForm)throws BusinessException;
	
	/**
	 * 获取采购列表
	 * @return
	 * @throws BusinessException
	 */
	public List getPurchaseEntryList()throws BusinessException;
	/**
	 * 删除采购信息
	 * @throws BusinessException
	 */
	public void delData(String id)throws BusinessException;
	
	/**
	 * 
	 * @param check 审批是否为通过
	 * @param id
	 * @throws BusinessException
	 */
	public void checkData(boolean check,String id,String proKey)throws BusinessException;
	
	/**
	 * 提交审批
	 * @param id
	 * @throws BusinessException
	 */
	public void submitCheck(String id,String proKey) throws BusinessException;
}
